home *** CD-ROM | disk | FTP | other *** search
-
- static char RCSId[]="$Id: MultipleSelectionMatrix.m,v 1.1.1.1 1993/03/18 03:34:32 davis Exp $";
-
-
- #import "MultipleSelectionMatrix.h"
-
- @implementation MultipleSelectionMatrix
-
- - (BOOL)multipleCellsSelected
- {
- selectedCount = 0;
-
- [self sendAction:@selector(incrementCount:) to:self forAllCells:NO];
- return (selectedCount > 1);
- }
-
-
- - (BOOL)incrementCount:sender
- {
- return (++selectedCount < 2);
- }
-
-
- // Shuts up the compiler about unused RCSId
- - (const char *) rcsid
- {
- return RCSId;
- }
-
-
- @end
-